package com.fulihui.wgj.facade.request.wx48;

import com.fulihui.common.request.rpc.AbstractServiceRequest;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotEmpty;

import java.util.Date;

@Getter
@Setter
public class Wx48NewsInfoSaveRequest extends AbstractServiceRequest {

    /**
     * 主键id  如传进行修改操作
     */
    private Long id;

    /**
     * 公众号appid
     */
    @NotEmpty(message = "appId不能为空")
    private String appId;

    /**
     * 48小时图文消息名称
     */
    private String title;

    /**
     * 用途类型 general(0, "general", "一般"),specificReply(1, "specificReply", "特定回复");
     * {@link com.fulihui.common.enums.Wx48UseTypeEnum}
     */
    private Long useType;

    private Date gmtCreate;

    private Date gmtModified;

    /**
     * 内容
     * {@link com.fulihui.weixinsdk.model.NewsMessage}
     */
    private String xmlContent;

}